.class public Lcom/xingbook/ecloud/e/c;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Lcom/xingbook/ecloud/b/b;

.field private b:F

.field private c:Z

.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/Button;

.field private g:Landroid/widget/RelativeLayout;

.field private h:Landroid/view/View;

.field private i:Landroid/view/View;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/ImageView;

.field private l:Landroid/view/View;

.field private m:Landroid/view/View;

.field private n:Lcom/xingbook/ecloud/e/s;

.field private o:I

.field private p:I

.field private q:Lcom/xingbook/ecloud/e/d;


# direct methods
.method public constructor <init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V
    .locals 1

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v0, Lcom/xingbook/ecloud/e/d;

    invoke-direct {v0, p0}, Lcom/xingbook/ecloud/e/d;-><init>(Lcom/xingbook/ecloud/e/c;)V

    iput-object v0, p0, Lcom/xingbook/ecloud/e/c;->q:Lcom/xingbook/ecloud/e/d;

    iput p2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    iput-object p3, p0, Lcom/xingbook/ecloud/e/c;->n:Lcom/xingbook/ecloud/e/s;

    const v0, 0x7f020081

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/c;->setBackgroundResource(I)V

    const v0, 0x44388000

    mul-float/2addr v0, p2

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/ecloud/e/c;->o:I

    const/high16 v0, 0x43e4

    mul-float/2addr v0, p2

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/ecloud/e/c;->p:I

    invoke-direct {p0}, Lcom/xingbook/ecloud/e/c;->b()V

    return-void
.end method

.method private b()V
    .locals 12

    const/16 v11, 0xc

    const/high16 v10, 0x43ab

    const/high16 v9, 0x4270

    const v8, 0x44338000

    const/4 v7, 0x0

    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->getContext()Landroid/content/Context;

    move-result-object v0

    const/high16 v1, 0x4120

    iget v2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    new-instance v2, Landroid/widget/ImageView;

    invoke-direct {v2, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    const v3, -0x333334

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v8

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v10

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v1, v1, v1, v1}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    invoke-virtual {p0, v2}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    const v3, -0x99999a

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    const/high16 v3, 0x41c0

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    const/16 v3, 0x13

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    const/4 v3, 0x2

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setLines(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    sget-object v3, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const v3, 0x44108000

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v3, 0x43b98000

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    iput v3, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v1, v2, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    invoke-virtual {p0, v2}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    const/high16 v2, 0x43bb

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    new-instance v3, Landroid/widget/Button;

    invoke-direct {v3, v0}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v3, v7, v7, v7, v7}, Landroid/widget/Button;->setPadding(IIII)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const/4 v4, 0x2

    invoke-virtual {v3, v4}, Landroid/widget/Button;->setId(I)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v3, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const v4, 0x7f02008b

    invoke-virtual {v3, v4}, Landroid/widget/Button;->setBackgroundResource(I)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const/high16 v4, 0x41f0

    iget v5, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v5

    invoke-virtual {v3, v7, v4}, Landroid/widget/Button;->setTextSize(IF)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const/4 v4, -0x1

    invoke-virtual {v3, v4}, Landroid/widget/Button;->setTextColor(I)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v4, 0x42f4

    iget v5, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    const/high16 v5, 0x4268

    iget v6, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v5, v6

    float-to-int v5, v5

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0xb

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v1, v3, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    iput v2, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {p0, v2}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/RelativeLayout;

    invoke-direct {v2, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v8

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v10

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v1, v1, v1, v1}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v2}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v2}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->i:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->i:Landroid/view/View;

    const/high16 v3, 0x5400

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v8

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v9

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v11}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->i:Landroid/view/View;

    invoke-virtual {v3, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->i:Landroid/view/View;

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->h:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->h:Landroid/view/View;

    const v3, -0x705e39

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, 0x0

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v9

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v11}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->h:Landroid/view/View;

    invoke-virtual {v3, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->h:Landroid/view/View;

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const/4 v3, -0x1

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const/high16 v3, 0x41c0

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const/16 v3, 0x11

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v8

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v9

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v11}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/ImageView;

    invoke-direct {v2, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    const/high16 v3, 0x5400

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    const v3, 0x7f020085

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    const/high16 v2, 0x43a7

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    const/high16 v3, 0x430d

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    iget-object v4, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    invoke-virtual {v4, v2, v3, v2, v3}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v8

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v10

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v1, v1, v1, v1}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    invoke-virtual {p0, v2}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    const/4 v3, 0x1

    invoke-virtual {v2, v3}, Landroid/view/View;->setId(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    invoke-virtual {v2, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v3, 0x4328

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    const/high16 v4, 0x4254

    iget v5, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xb

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/high16 v3, 0x41a0

    iget v4, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    const/high16 v4, 0x4190

    iget v5, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-virtual {v2, v1, v3, v4, v1}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    invoke-virtual {p0, v1}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ecloud/e/c;->m:Landroid/view/View;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v1, 0x4341

    iget v2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x4282

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v1, 0x4140

    iget v2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    const/high16 v1, 0x4180

    iget v2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->m:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->m:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/c;->addView(Landroid/view/View;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 8

    const/4 v5, 0x0

    const/4 v2, -0x1

    const/4 v4, 0x1

    const/16 v7, 0x8

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    iget-boolean v1, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    invoke-virtual {v0, v1}, Lcom/xingbook/ecloud/b/b;->d(Z)Z

    move-result v1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v3

    :goto_0
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v6, "\u4e0b\u8f7d"

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v6, "startdown"

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0, v2}, Lcom/xingbook/ecloud/e/c;->a(Ljava/lang/String;I)V

    :goto_1
    if-eqz v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setSelected(Z)V

    :goto_2
    iget-boolean v0, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    const v1, 0x7f020082

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    :goto_3
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->N()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->h()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    :goto_4
    return-void

    :cond_0
    move v0, v4

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v6, "\u6253\u5f00"

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v6, "open"

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    const v1, 0x7f020083

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    goto :goto_3

    :cond_4
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->l:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v1, "\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    const-string v0, "\u6682\u65e0\u8bfe\u7a0b\u4fe1\u606f"

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->e:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string v0, "null"

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->d:Landroid/widget/ImageView;

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    goto :goto_4
.end method

.method public a(Lcom/xingbook/ecloud/b/b;Z)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    iput-boolean p2, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->a()V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->d(Ljava/lang/String;)Lcom/xingbook/service/download/k;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0, p1, v2}, Lcom/xingbook/ecloud/e/c;->c(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v1, "\u6682\u505c"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v1, "pausedown"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v1, 0x7f080158

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method public a(Ljava/lang/String;I)V
    .locals 5

    const/4 v4, 0x1

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v2, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/xingbook/service/download/b;->d(Ljava/lang/String;)Lcom/xingbook/service/download/k;

    move-result-object v0

    if-nez v0, :cond_2

    const/4 v0, -0x1

    if-ne p2, v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v1, "\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const-string v1, "\u672a\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v1, "startdown"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->invalidate()V

    goto :goto_0

    :cond_2
    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->b()I

    move-result p2

    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->e()I

    move-result v0

    :goto_1
    packed-switch p2, :pswitch_data_0

    invoke-virtual {p0, p1, v1}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u4e0b\u8f7d"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v2, 0x7f08005d

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "startdown"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    :goto_2
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->invalidate()V

    goto :goto_0

    :pswitch_0
    invoke-virtual {p0, p1, v1}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u6682\u505c"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "pausedown"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v2, 0x7f080158

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    goto :goto_2

    :pswitch_1
    invoke-virtual {p0, p1, v0}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u6682\u505c"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "pausedown"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v2, 0x7f080056

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    goto :goto_2

    :pswitch_2
    invoke-virtual {p0, p1, v0}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u6682\u505c"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "pausedown"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    goto :goto_2

    :pswitch_3
    invoke-virtual {p0, p1, v0}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u4e0b\u8f7d"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v2, 0x7f080057

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "startdown"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    goto :goto_2

    :pswitch_4
    const/16 v0, 0x64

    invoke-virtual {p0, p1, v0}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u8bf7\u7a0d\u7b49"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v2, 0x7f080058

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "open"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->q:Lcom/xingbook/ecloud/e/d;

    const-wide/16 v2, 0xc8

    invoke-virtual {v0, v4, v2, v3}, Lcom/xingbook/ecloud/e/d;->sendEmptyMessageDelayed(IJ)Z

    goto/16 :goto_2

    :pswitch_5
    invoke-virtual {p0, p1, v0}, Lcom/xingbook/ecloud/e/c;->b(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "\u4e0b\u8f7d"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    const v2, 0x7f080059

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    const-string v2, "startdown"

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_2

    :cond_3
    move v0, v1

    goto/16 :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public b(Ljava/lang/String;I)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v1, 0x44338000

    iget v2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v1, v2

    int-to-float v2, p2

    mul-float/2addr v1, v2

    const/high16 v2, 0x42c8

    div-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x4270

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->h:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0
.end method

.method public c(Ljava/lang/String;I)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->j:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v1, 0x44338000

    iget v2, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v1, v2

    int-to-float v2, p2

    mul-float/2addr v1, v2

    const/high16 v2, 0x42c8

    div-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x4270

    iget v3, p0, Lcom/xingbook/ecloud/e/c;->b:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->h:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->invalidate()V

    goto :goto_0
.end method

.method public getRealHeight()I
    .locals 1

    iget v0, p0, Lcom/xingbook/ecloud/e/c;->p:I

    return v0
.end method

.method public getRealWidth()I
    .locals 1

    iget v0, p0, Lcom/xingbook/ecloud/e/c;->o:I

    return v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u6682\u65e0\u8bfe\u7a0b\u4fe1\u606f\uff01"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    iget-boolean v1, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    invoke-virtual {v0, v1}, Lcom/xingbook/ecloud/b/b;->d(Z)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-boolean v0, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    if-eqz v0, :cond_2

    const-string v0, "\u5f53\u524d\u8bfe\u8fd8\u672a\u89e3\u9501\uff0c\u8bf7\u5148\u5b66\u4e60\u5176\u4ed6\u8bfe~"

    :goto_1
    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_2
    const-string v0, "\u5f53\u524d\u8bfe\u8fd8\u672a\u89e3\u9501\uff0c\u8bf7\u5148\u5b66\u4e60\u5176\u4ed6\u8bfe~"

    goto :goto_1

    :cond_3
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->n:Lcom/xingbook/ecloud/e/s;

    iget-boolean v2, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    iget-boolean v0, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->a()Ljava/lang/String;

    move-result-object v0

    :goto_2
    iget-object v3, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/b;->e()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v2, v0, v3}, Lcom/xingbook/ecloud/e/s;->a(ZLjava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->b()Ljava/lang/String;

    move-result-object v0

    goto :goto_2

    :pswitch_1
    invoke-virtual {p1}, Landroid/view/View;->isSelected()Z

    move-result v0

    if-nez v0, :cond_5

    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/c;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u8bf7\u7a0d\u7b49\u00b7\u00b7\u00b7"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_5
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, "open"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->n:Lcom/xingbook/ecloud/e/s;

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    iget-boolean v2, p0, Lcom/xingbook/ecloud/e/c;->c:Z

    invoke-interface {v0, v1, v2}, Lcom/xingbook/ecloud/e/s;->a(Lcom/xingbook/ecloud/b/b;Z)V

    goto :goto_0

    :cond_6
    const-string v1, "startdown"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->n:Lcom/xingbook/ecloud/e/s;

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-interface {v0, v1}, Lcom/xingbook/ecloud/e/s;->a(Lcom/xingbook/ecloud/b/b;)V

    goto/16 :goto_0

    :cond_7
    const-string v1, "pausedown"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->f:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/c;->n:Lcom/xingbook/ecloud/e/s;

    iget-object v1, p0, Lcom/xingbook/ecloud/e/c;->a:Lcom/xingbook/ecloud/b/b;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/xingbook/ecloud/e/s;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
